package com.zjj.spring.read.xml.aop.springaop.intro;

import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.support.DelegatingIntroductionInterceptor;

import com.zjj.spring.read.xml.aop.Apology;

public class GreetingIntroAdvice extends DelegatingIntroductionInterceptor implements Apology{

	@Override
	public Object invoke(MethodInvocation mi) throws Throwable {
		return super.invoke(mi);
	}
	
	@Override
	public void saySorry(String name) {
		System.out.println("【3】--- GreetingIntroAdvice saySorry : " + name + " ---");		
	}
	

}
